bookmarklist: Don't leak uris
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Jul 2020 20:42:01 +0000 (16:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 8 Jul 2020 21:44:23 +0000 (17:44 -0400)
This leak showed up in multiple places while
running the testsuite under asan.

gtk/gtkbookmarklist.c

index 5f81147933936bcb57c84797b80dda9d48f36a9a..537389e3165c96d30ed88116a4a89ca18306a9d0 100644 (file)
@@ -369,6 +369,8 @@ gtk_bookmark_list_start_loading (GtkBookmarkList *self)
                                    self);
           g_object_unref (file);
         }
+
+      g_strfreev (uris);
     }
   else
     {